package com.company.cloud.club.modules.db.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.cloud.club.modules.core.dto.project.BannerDto;
import com.company.cloud.club.modules.db.domain.Banner;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BannerMapper extends BaseMapper<Banner> {

    @Select("SELECT * FROM pj_banner where deleted=0 ORDER BY time_created DESC ")
    List<Banner> bannerList();
}